import 'package:tender_flutter/generated/json/base/json_convert_content.dart';
import 'package:tender_flutter/generated/json/base/json_field.dart';

class SubscriptionEntity with JsonConvert<SubscriptionEntity> {
  int pageNum;
  int pageSize;
  int total;
  int pages;
  @JSONField(name: "list")
  List<SubscriptionList> xList;
  bool isFirstPage;
  bool isLastPage;
}

class SubscriptionList with JsonConvert<SubscriptionList> {
  List<String> areas = [];
  // List<String> types = [];
  // List<String> typeCodes = [];
  // List<String> biddingClasses = [];
  // List<String> biddingClassCode = [];
  // List<String> industries = [];
  // List<String> industryCodes = [];
  List<String> keyword = [];
  String lastTitle;
  bool isPoint;
  int num;
  int isPush;
  String begin;
  String type;
  int id;
  @JSONField(name: "area_ids")
  List<int> areaIds = [];
}
